/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nys.conci.cliente.entidad;

import com.nys.conci.base.ObjetoBase;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.*;

/**
 *
 * @author Yeudy10
 * @since 04/02/2013
 */
@Entity
@Table( name="plan_pago",  schema="public")
@SequenceGenerator(name = "ID_SEQ", sequenceName = "seq_plan_pago", allocationSize = 1)
public class PlanPago extends ObjetoBase implements Serializable {
   
    
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>>  VARIABLES  <<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>    
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "ID_SEQ")
    private Integer id_plan_pago;
    
    private String nombre;
    private String descripcion;
    private Integer id_especialidad;    
    private BigDecimal pago_inicial;
    private BigDecimal pago_mensual;
    private BigDecimal pago_total;
    private BigDecimal duracion;
   
    
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>>  CONSTRUCTOR  <<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    public PlanPago() {
    }

    public PlanPago(Integer id_plan_pago) {
        this.id_plan_pago = id_plan_pago;
    }
            
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>>  GETS & SETS  <<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>
    //<<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>><<<>>>>

    /**
     * @return the id_plan_pago
     */
    public Integer getId_plan_pago() {
        return id_plan_pago;
    }

    /**
     * @param id_plan_pago the id_plan_pago to set
     */
    public void setId_plan_pago(Integer id_plan_pago) {
        this.id_plan_pago = id_plan_pago;
    }

    /**
     * @return the nombre
     */
    public String getNombre() {
        return nombre;
    }

    /**
     * @param nombre the nombre to set
     */
    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    /**
     * @return the descripcion
     */
    public String getDescripcion() {
        return descripcion;
    }

    /**
     * @param descripcion the descripcion to set
     */
    public void setDescripcion(String descripcion) {
        this.descripcion = descripcion;
    }

    /**
     * @return the id_especialidad
     */
    public Integer getId_especialidad() {
        return id_especialidad;
    }

    /**
     * @param id_especialidad the id_especialidad to set
     */
    public void setId_especialidad(Integer id_especialidad) {
        this.id_especialidad = id_especialidad;
    }

    /**
     * @return the pago_incial
     */
    public BigDecimal getPago_inicial() {
        return pago_inicial;
    }

    /**
     * @param pago_incial the pago_incial to set
     */
    public void setPago_incial(BigDecimal pago_inicial) {
        this.pago_inicial = pago_inicial;
    }

    /**
     * @return the pago_mensual
     */
    public BigDecimal getPago_mensual() {
        return pago_mensual;
    }

    /**
     * @param pago_mensual the pago_mensual to set
     */
    public void setPago_mensual(BigDecimal pago_mensual) {
        this.pago_mensual = pago_mensual;
    }

    /**
     * @return the pago_total
     */
    public BigDecimal getPago_total() {
        return pago_total;
    }

    /**
     * @param pago_total the pago_total to set
     */
    public void setPago_total(BigDecimal pago_total) {
        this.pago_total = pago_total;
    }

    /**
     * @return the duracion
     */
    public BigDecimal getDuracion() {
        return duracion;
    }

    /**
     * @param duracion the duracion to set
     */
    public void setDuracion(BigDecimal duracion) {
        this.duracion = duracion;
    }

   
    
}
